<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
 * Short description for file
 *
 * Long description for file (if any)...
 *
 * PHP version 5
 *
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License.

* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.

* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @package    PackageName
 * @author     Johnathan Roark <jroark@ventoris.com>
 * @author     Another Author <another@example.com>
 * @copyright  2008 
 * @license   http://www.gnu.org/licenses/gpl-3.0.html 
 * @version    SVN: $Id: index.php 11 2008-10-26 04:50:46Z stephenmg12 $
 * @link       http://http://code.google.com/p/generic-eve-tool/
 */
 
/**
* Constant Definitions
*/

//Dwoo template directory
define('DWOO_TEMPLATE_DIR', 'themes'.DIRECTORY_SEPARATOR.'evetool'.DIRECTORY_SEPARATOR.'default');

/**
* Dwoo template engine include
*/
require_once 'includes'.DIRECTORY_SEPARATOR.'dwoo'.DIRECTORY_SEPARATOR.'dwooAutoload.php';

//Create the Dwoo controller
$dwoo = new Dwoo();

// Load a template file (name it as you please), this is reusable
$tpl = new Dwoo_Template_File(DWOO_TEMPLATE_DIR.DIRECTORY_SEPARATOR.'index.tpl');

// Create Dwoo data set
$data = new Dwoo_Data();

//Assign data to template
$data->assign('test', 'hello world');

// Output dwoo result
$dwoo->output($tpl, $data);
?>